package practice01;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice01
 * @ClassName: Test
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/11 18:33
 * @Copyright 大牛版板所有
 */
public class Test {
    public static void main(String[] args) {
        UseCompute useComp = new UseCompute();
        useComp.useCom(new Add(),2,9);
        useComp.useCom(new Subtract(),11,3);
        useComp.useCom(new Multiply(),2,15);
        useComp.useCom(new Division(),60,5);
    }
}
